<%= render :partial => "page_nav" %>

<% fields_for :article, @version do |f| -%>
<% content_for :sidebar do %>
  <%= render :partial => 'shared_options', :locals => { :form => f } %>
<% end %>
<% end %>

<%= error_messages_for :article %>

<% content_for :form do -%>
  <%= form_tag({:action => 'update', :id => @article}, {:id => 'article-form', :multipart => true}) %>
<% end -%>

<% fields_for :article, @version do |f| -%>
<%= render :partial => 'form', :object => f %>
<p class="btns">
  <%= submit_tag _('Apply Changes') %>
  <%= submit_tag _('Save without Revision') %>
  <%= link_to _("cancel"), :controller => "articles" %></p>
<% end -%>


